<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="GleamTech.FileVista.LoginPage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<%=InsertInfo%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title><%=InsertTitle%></title>
		<link href="filevistacontrol/styles/default.css" rel="stylesheet" />
		<script src="filevistacontrol/scripts/library/utility.js" type="text/javascript"></script>
		<script src="scripts/login.js" type="text/javascript"></script>
	</head>
	<body onload="onPageLoad()" style="margin: 0px;">
        <form id="formLogin" onsubmit="return login()" method="post" action="<%=ResolveClientUrl("administration.asmx/LoginUser")%>">
            <div id="divLogin" style="position: absolute; visibility: hidden; padding: 5px" class="panel">
			        <input type="hidden" id="text505" value="<%=language.GetString("505")%>" />
			        <input type="hidden" id="text543" value="<%=language.GetString("543")%>" />
			        <input type="hidden" id="text544" value="<%=language.GetString("544")%>" />

				    <table border="0" cellpadding="0" cellspacing="5" class="generalText" style="width: 280px;">
                        <tr>
                            <td colspan="2">
			                    <table border="0" cellpadding="5" cellspacing="0" class="generalText" style="width: 280px;">
				                    <tr>
					                    <td align="center"><img width="32" height="32" style="border: none;" src="<%=ResolveClientUrl("~/images/login.png")%>" alt="" /></td>
					                    <td><%=language.GetString("500", InsertTitle)%><br /><%=language.GetString("501")%></td>
				                    </tr>
				                </table>                        
                            </td>
                        </tr>
	                    <tr>
	                        <td colspan="2" style="padding-bottom: 5px"><hr /></td>
	                    </tr>
                        <tr>
					        <td style="width: 120px;"><%=language.GetString("502")%></td>
					        <td><input name="username" type="text" value="<%=InsertRememberedUsername%>" style="width: 170px;" /></td>
				        </tr>
				        <tr>
					        <td><%=language.GetString("503")%></td>
					        <td><input name="password" type="password" value="" style="width: 170px;" /></td>
				        </tr>
				        <tr>
                            <td></td>
                            <td><input id="remember" name="remember" type="checkbox" value="1" /><label for="remember"><%=language.GetString("652")%></label></td>
				        </tr>
				        <tr>
					        <td colspan="2" align="right">
						        <input name="submitButton" type="submit" value="<%=language.GetString("504")%>" style="width: 100px;" />
					        </td>
				        </tr>
			        </table>
		    <%=InsertDemoInfo%>
            </div>		
        </form>
	</body>
</html>
